from django.forms import ModelForm
from core.models.task import Task

class TaskForm(ModelForm):
  class Meta:
    fields = ('title', 'from_date', 'to_date', 'text', 'task_type')
    model = Task
